package factoryModel.simpleFactory;

/**
 * @author 帅小伙
 * @date 2021/12/29
 * @description
 */
public class SimplePizzaFactory {


    AHPizza createPizza(String type){
        if(type.equals("ah")){
            return new AHPizza();
        }
        return null;
    }
}
